<div>
  <button ng-click="toggleEdit()" ng-show="!editing" class="btn btn-primary">
    <i class="icon-pencil"></i> Edit
  </button>
  <button ng-click="save(fileName)" ng-show="editing" class="btn btn-primary">
    <i class="icon-ok-sign"></i> Save
  </button>
  <hr/>
<!-- TODO(pmy): re-enable rename -->
<!--  <div class="input-prepend">
    <span class="add-on">Name:</span>
    <input ng-model="fileName" class="span2" type="text"><br/>
  </div>
-->
  <div id="objHtml" ng-show="!editing"></div>
  <textarea id="fileObject"
            ng-show="editing"
            rows="5"
            cols="20">{{content}}</textarea>
</div>
